Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Plenum component DropdownWithMultiSelect #90

Merged
merged 3 commits into from
Dec 19, 2024

Conversation

DerekAgility
Copy link
Contributor

@DerekAgility DerekAgility commented Dec 16, 2024

Jira: https://agilitycms.atlassian.net/browse/FE-2385

Added a new Plenum component that acts like a select, but when the dropdown opens, we show a list of checkboxes.

image

Copy link

vercel bot commented Dec 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
plenum-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2024 2:54pm

@DerekAgility DerekAgility force-pushed the dlo/dropdownwithmultiselect branch from ae13f38 to cdba677 Compare December 17, 2024 03:34
@DerekAgility DerekAgility marked this pull request as ready for review December 17, 2024 03:35
@@ -19,7 +19,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "18" # Specify the Node.js version you want
node-version: "20" # Specify the Node.js version you want
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bumping these up to match manager app repo

Comment on lines +30 to +32
truncateLabel?: boolean;
/** Full width label */
fullWidthLabel?: boolean;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just passing these down from the new component to inputlabel

import { Combobox as HeadlessUICombobox } from "@headlessui/react"
import InputLabel from "@/stories/molecules/inputs/InputLabel"
import { DynamicIcon } from "@/stories/atoms/icons"
import { useState, useEffect } from "react";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are ts fixes that had to be done since we upgraded node

Copy link
Contributor

@DakotahGodfrey DakotahGodfrey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving but can you update the package version?

package.json Outdated Show resolved Hide resolved
@DakotahGodfrey
Copy link
Contributor

Awesome LGTM!

@DerekAgility DerekAgility merged commit cc0e71b into main Dec 19, 2024
4 checks passed
@DerekAgility DerekAgility deleted the dlo/dropdownwithmultiselect branch December 19, 2024 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants